package yang.yu.sunny.domain.product;

/**
 * Created by yyang on 16/3/24.
 */
public class ProductCategoryNameChangedEvent {

    private Long productCategoryId;

    private String oldName;

    private String newName;

    public ProductCategoryNameChangedEvent(Long productCategoryId, String oldName, String newName) {
        this.productCategoryId = productCategoryId;
        this.oldName = oldName;
        this.newName = newName;
    }

    public Long getProductCategoryId() {
        return productCategoryId;
    }

    public String getOldName() {
        return oldName;
    }

    public String getNewName() {
        return newName;
    }
}
